<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>修改门店</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="../../../elementUI/index.css">
  <link rel="stylesheet" href="../../../css/index.css">
</head>

<body>
  <div id="app" class="minWidth">
    <el-form :model="form" ref="contract" :rules="rules" inline-message="true" style="width: 100%">
      <div class="table_titel">
        <div class="titel">门店</div>
      </div>
      <el-descriptions :column="2" border size="small">
        <el-descriptions-item label="门店名称">
          <el-form-item prop="Store_Name">
            <el-input v-model.trim="form.Store_Name" placeholder="请输入门店名称"></el-input>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="门店类别">
          <el-form-item prop="Store_Type">
            <el-select v-model.trim="form.Store_Type" placeholder="请选择商品类别" filterable style="width: 100%">
              <el-option label="实体店" value="实体店"></el-option>
              <el-option label="网店" value="网店"></el-option>
            </el-select>
          </el-form-item>
        </el-descriptions-item>
        <el-descriptions-item label="开店日期">
          <el-form-item prop="Opened_Date">
            <el-date-picker v-model.trim="form.Opened_Date" type="datetime" placeholder="选择日期时间" format="yyyy 年 MM 月 dd 日" value-format="yyyy-MM-dd"></el-date-picker>
          </el-form-item>            
        </el-descriptions-item>
        <el-descriptions-item label="关店日期">
          <el-form-item prop="Closed_Date">
            <el-date-picker v-model.trim="form.Closed_Date" type="datetime" placeholder="选择日期时间" format="yyyy 年 MM 月 dd 日" value-format="yyyy-MM-dd"></el-date-picker>
          </el-form-item>
        </el-descriptions-item>
      </el-descriptions>
      <el-descriptions :column="1" border size="small">
        <el-descriptions-item label="店铺地址">
          <el-form-item prop="Store_Address">
            <el-select v-model="selectProvince" filterable size="small" @change="selectProvinceFun($event)"
              placeholder="请选择省份">
              <el-option value="" label="请选择省份"></el-option>
              <el-option :value="item" :label="item.label" v-for="(item, index) in city" :key="index"></el-option>
            </el-select>
            <el-select v-model="selectCity" filterable size="small" @change="selectCityFun($event)" placeholder="请选择城市">
              <el-option value="" label="请选择城市"></el-option>
              <el-option :value="item" :label="item.label" v-for="(item, index) in cityList" :key="index"></el-option>
            </el-select>
            <el-select v-model="selectArea" filterable size="small" @change="selectAreaFun($event)" placeholder="请选择区县">
              <el-option value="" label="请选择区县"></el-option>
              <el-option :value="item" :label="item.label" v-for="(item, index) in areaList" :key="index"></el-option>
            </el-select>
          </el-form-item>
        </el-descriptions-item>
      </el-descriptions>

      <el-form-item class="form-operation">
        <el-button @click="window.history.back()">返回</el-button>
        <el-button @click="resetForm('contract')">重置</el-button>
        <el-button type="primary" :loading="loading" @click="submitForm('contract')">提交</el-button>
      </el-form-item>
    </el-form>
  </div>
  <script type="text/javascript" src="../../../js/jquery-3.6.0.min.js"></script>
  <script type="text/javascript" src="../../../js/jquery.cookie.js"></script>
  <script type="text/javascript" src="../../../js/vue.min.js"></script>
  <script type="text/javascript" src="../../../elementUI/index.js"></script>
  <script type="text/javascript" src="../../../js/utils.js"></script>
  <script type="text/javascript" src="../../../js/ID_Validity.js"></script>
  <script type="text/javascript" src="./js/Edit.js"></script>
  <script type="text/javascript">

  </script>
</body>

</html>